snarkos-metrics 1.3.17

Metrics for a decentralized operating system
Documentation

snarkos-metrics

Crates.io Authors License

Development

To start a local instance of Prometheus for development purposes, run the following command from the current directory:

cd prometheus/{YOUR_OS}
docker build -t prometheus .
docker run -p 9090:9090 --network=host prometheus

Then, start a snarkos mining node to start generating metrics from the root of the repository:

cargo run --bin snarkos

To confirm the Prometheus instance is up, navigate to https://localhost:9090/graph.

Security

To enable access to metrics, open port 9090 on your development or production machine.